package top.lixunda.common.validate.exception;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import lombok.extern.slf4j.Slf4j;

/**
 * @author Xumda
 * @version time:2019/12/9 11:52
 */
@Slf4j
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class XumValidException extends RuntimeException {

    private String message;

    public XumValidException(String message) {
        super(message);
        this.message = message;
    }
}
